package com.rockwell.sniffyhunter.utils;

import com.rockwell.sniffyhunter.model.RobotCommand;

import net.wimpi.modbus.ModbusException;

public interface IRobotCommander {
	
	public static final short LEFT_90_DEGREE  = -90;
	public static final short RIGHT_90_DEGREE = 90;
	public static final short _180_DEGREE = 180;
	public RobotCommand m_lastCommand = new RobotCommand();
	
	void connect() throws Exception;
	void disconnect() throws Exception;
	boolean isConnected();
	
	void sendCommand(RobotCommand command) throws ModbusException;
	
	boolean isJogDone() throws ModbusException;
	boolean isCommandDone() throws ModbusException;
	boolean isJogging();
	void reset();
}
